
$(function () {
    //主页导航栏 显示与隐藏
    var category = $(".category");
    var effect = $(".hidden_Content");
    $(document).ready(function () {
        category.mouseover(function () {
            var index = category.index(this);
            $(effect[index]).stop().slideDown("slow");
        });
        category.mouseout(function () {
            var index = category.index(this);
            $(effect[index]).stop().slideUp("slow");
        });
    });
    $(document).ready(function () {
        effect.mouseover(function () {
            var index = effect.index(this);
            $(effect[index]).stop().slideDown("slow");
        });
        effect.mouseout(function () {
            var index = effect.index(this);
            $(effect[index]).stop().slideUp("slow");
        });
    });
});